import {defineStore} from 'pinia';

export const sunList = defineStore('listtaer',{
    state:()=>({
        list:222,
        name:4543
    }),
    getters:{
        double:(state) => state.list *1000
    },
    actions:{
        addSum(v:any){
            this.list = this.list *v
        }
    }

})